<template>
  <div>移动端的弹窗</div>
  <button @click="show1">点我1</button>
  <button @click="show2">点我2</button>
</template>

<script>
import { showRule } from '@/components/RulePopup';
import { showPopup } from '@/components/popup';

export default {
  setup() {
    const show1 = () => {
      showRule('我是弹窗');
    };
    const show2 = () => {
      showPopup({ da_id: 'none' });
    };
    return {
      show1,
      show2
    };
  },
  components: {}
};
</script>

<style scoped lang="scss"></style>
